package com.zzyl.serve.dto;

import com.zzyl.common.core.domain.BaseEntity;
import com.zzyl.serve.domain.NursingProjectPlan;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 封装前端发给后端的请求参数信息
 */
@ApiModel("护理计划传输对象")
@Data
public class NursingPlanDto extends BaseEntity {

    private Long id;

    @ApiModelProperty(value = "计划名称")
    private String planName;

    @ApiModelProperty(value = "排序号")
    private Integer sortNo;

    @ApiModelProperty(value = "状态 0 禁用 1 启用")
    private Integer status;

    /*和护理计划有关联的所有护理项目*/
    @ApiModelProperty(value = "和护理计划有关联的所有护理项目")
    List<NursingProjectPlan> projectPlans;
}
